using MediatR;
using RabbitTraceability.Api.Dtos.Response;

namespace RabbitTraceability.Api.Applications.Command
{
    /// <summary>
    /// 查询养殖信息命令
    /// </summary>
    public class QueryBreedingInfoCommand : IRequest<BreedingInfoResponseDto>
    {
        /// <summary>
        /// 生产批次（关联溯源基本信息表的生产批次）
        /// </summary>
        public string ProductionBatch { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="productionBatch">生产批次</param>
        public QueryBreedingInfoCommand(string productionBatch)
        {
            ProductionBatch = productionBatch;
        }
    }
} 